package cn.edu.ctbu.dp01.dao;

import cn.edu.ctbu.dp01.entity.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TeacherRepository extends JpaRepository<Teacher, Integer> {
    public List<Teacher> findByTno(String tno);
}
